summaryrefslogtreecommitdiffstats
path: root/Server
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-07-12 16:21:20 +0200
committerLukas Pioch <lukas@zgow.de>2016-07-12 16:21:20 +0200
commit87a7d3ec64552f7ab63715656e8ba2b519994d76 (patch)
tree83894f6236342e5a0d77b23728fcd46856ae4d57 /Server
parentMerge pull request #3259 from cuberite/FixJsonBool (diff)
downloadcuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.tar
cuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.tar.gz
cuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.tar.bz2
cuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.tar.lz
cuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.tar.xz
cuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.tar.zst
cuberite-87a7d3ec64552f7ab63715656e8ba2b519994d76.zip
Diffstat (limited to 'Server')
-rw-r--r--Server/Plugins/APIDump/APIDesc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua
index fd8ef34d0..a09d4b37d 100644
--- a/Server/Plugins/APIDump/APIDesc.lua
+++ b/Server/Plugins/APIDump/APIDesc.lua
@@ -1640,7 +1640,7 @@ end
-- Set window contents:
-- a_Player is a cPlayer object received from the outside of this code fragment
-local Window = cLuaWindow(cWindow.Hopper, 3, 3, "TestWnd");
+local Window = cLuaWindow(cWindow.wtHopper, 3, 3, "TestWnd");
Window:SetSlot(a_Player, 0, cItem(E_ITEM_DIAMOND, 64));
Window:SetOnClosing(OnClosing);
Window:SetOnSlotChanged(OnSlotChanged);